package com.intelligence.pda.ui.abnormal;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.intelligence.pda.R;
import com.intelligence.pda.retrofit.ApiStores;
import com.intelligence.pda.ui.BaseActivity;
import com.squareup.picasso.Picasso;

import butterknife.Bind;
import butterknife.OnClick;

public class DialogActivity extends BaseActivity {
    @Bind(R.id.iv_tp)
    ImageView iv_tp;
    private String pohotor;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_dialog);
        Intent _intent = getIntent();
        if (_intent != null) {
            pohotor = _intent.getStringExtra("POHOTOR");
        }
        Picasso.with(mActivity).load(ApiStores.API_IMAGE_URL + pohotor).into(iv_tp);

    }

    @OnClick({R.id.ll_fh})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.ll_fh://返回
                finish();
                break;
        }
    }

}
